<template>
	<!-- 页面结构 -->
	<div>
	<p v-text='msg' class="red"> </p>
	<router-link	to='/login'>登录</router-link>
	<router-link	to='/register'>注册</router-link>
	<router-view></router-view>	
	<mt-button type='danger' size='large'>dager</mt-button>
	</div>
</template>

<script>
	export default{
		data(){
			return{
				msg:"hello,world"
			}
		},
		methods:{

		},
		created(){

		}
	}
</script>

<style scoped>
	/*当前页面的样式 scoped表示当前组件页面有效*/
	.red{
		color:red;
	}
</style>